<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
     <%@ taglib uri="/struts-tags" prefix="s"%>
     <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>Insert title here</title>
<s:head/>
</head>

<body>
<table>
 <tr>
 <td> 公司名称</td>
 <td>公司类型</td>
 <td>公司地址</td>
 <td>公司规模</td>
 <td>工作经验</td>
 <td>学历要求</td>
 <td>职位简介</td>
 <td>提供工薪</td>
 <td></td>
</tr>
<s:iterator value="pagination.results" status="status">
<tr>
<td><s:property value="name"/></td>
<td><s:property value="companyType"/></td>
<td><s:property value="address"/></td>
<td><s:property value="count"/></td>
<td><s:property value="experience"/></td>
<td><s:property value="academic"/></td>
<td><s:property value="title"/></td>
<td><s:property value="salary"/></td>

<td><a href="delete.action?id=<s:property value='id'/>" onclick='return confirm("确认删除?")'>删除</a></td>
<td><a href="addresume.action?id=<s:property value='id'/>">立即申请</a></td>
<td><a href="songjianli.action?id=${id}">投送简历</a>

</tr>
</s:iterator>
</table>
<div class="pagination">
	
		${pagination.size }条/页 &nbsp;
		${pagination.pageSum }页&nbsp;
		${pagination.recordSum }条&nbsp;
		<c:if test="${!pagination.first}">
			<a href="show.action?pagination.no=1">首页</a>&nbsp;
		</c:if>
		<c:if test="${pagination.previous}">
			<a href="show.action?pagination.no=${pagination.no-1 }">上页</a>&nbsp;
		</c:if>
		<c:if test="${pagination.next}">
			<a href="show.action?pagination.no=${pagination.no+1 }">下页</a>&nbsp;
		</c:if>
		<c:if test="${!pagination.last&&pagination.no>0}">
			<a href="show.action?pagination.no=${pagination.pageSum }">末页</a>&nbsp;
		</c:if>
		<br/><br/>
	
	</div>
</body>
</html>